import { inView } from "./modules/inView";
import { hasPerm } from "./modules/permission.js";
import lazyImage from "./modules/lazyImg.js";
import { vRedBg } from "./modules/demo.js";
import { vDebounce } from "./modules/debounce.js";
import { vThrottle } from "./modules/throttle.js";
export default function directive(app) {
  app.directive("hasPermission", hasPerm);
  app.directive("lazyImage", lazyImage);
  app.directive("redBg", vRedBg);
  app.directive("debounce", vDebounce);
  app.directive("throttle", vThrottle);
  app.directive("inView", inView);
  //如果有其它的指令可以继续添加
}
